import request from '@/utils/myRequest'

// 后台登陆 POST /lejuAdmin/index/login
export function login(data) {
  return request({
    url: '/lejuAdmin/index/login',
    method: 'POST',
    data
  })
}
// GET /lejuAdmin/dashboard/baseData
export function baseData() {
  return request({
    url: '/lejuAdmin/dashboard/baseData'
  })
}

// 获取初始化菜单 GET /admin/sysAuth/index/getInitMenus
export function getInitMenus() {
  return request({
    url: '/admin/sysAuth/index/getInitMenus'
  })
}
